/**index.scss**/

.page-container-gradient {
  background: linear-gradient(to bottom, #A3C4FF 10%, #EFF3F8 50%);
}

.page-container {
  padding-bottom: 184rpx;

  .top-bg {
    position: absolute;
    top: 0px;
    left: -20px;
    width: 250px;
    height: 175px;
  }

  .fixed-search {
    height: 54rpx;
    // width: 694rpx;
    padding: 14rpx 30rpx;
    background-color: #fff;
    padding-left: 30rpx;
    position: fixed;
    top: 91px;
    left: 0;
    right: 0;
    z-index: 2000;
    --td-search-icon-font-size: 38rpx !important;
    --td-search-font-size: 28rpx;
    --td-search-height: 54rpx;
    --td-search-square-radius: 4px;
  }

  .top-container {
    position: relative;
    height: 486rpx;
    // background-color: #3375F5;
    // background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) -3.23%, #A3C4FF 65.39%);

    .img-bg {
      width: 100%;
      height: 477rpx;
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 1;
    }
  }
}

.search-bar-box {
  padding: 0 30rpx 0 30rpx;
  width: 690rpx;
  height: 424rpx;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  margin-top: 12rpx;

  .logo-bc {
    text-align: center;
    padding-top: 12rpx;
  }

  .search-bar-index {
    margin-top: 30rpx;

    .search-input {
      width: 686rpx;
      height: 84rpx;
      border-radius: 148rpx;
      background-color: #E9F3FF;
      margin: 0 auto;
      border: 1px solid #3375F5;

      .search-btn {
        width: 120rpx;
        height: 68rpx;
        background-color: #3375F5;
        color: #fff;
        border-radius: 148rpx;
        font-size: 28rpx;
        justify-content: center;
        margin-right: 8rpx;
      }

      .txt {
        margin-left: 24rpx;
        color: #86909C;
        font-size: 28rpx;
      }
    }
  }

  .banner-box {
    height: 400rpx;
    margin-top: 30rpx;

    .banner-img {
      // border: 1px solid red;
      width: 692rpx;
      height: 238rpx;
      border-radius: 20rpx;
      // filter: drop-shadow(0px 0px 10.8px #9ABCFF);
    }
  }
}

.index-page {
  box-sizing: border-box;
  flex: 1;
  overflow: hidden;

  .title-name {
    font-size: 34rpx;
    font-weight: 500;
    line-height: 24px;
    margin: 10px 30rpx;
  }

  .preview-boxes {
    flex-wrap: wrap;
    padding: 0 30rpx;

    .box {
      width: 338rpx;
      height: 66px;
      border-radius: 10px;
      background: #fff;
      box-shadow: 0px 3.818px 6.204px 0px rgba(51, 117, 245, 0.15);
      margin-bottom: 8px;
      padding-top: 12px;
      padding-left: 28rpx;
      box-sizing: border-box;
      position: relative;

      .desc {
        position: absolute;
        left: 28rpx;
        top: 21rpx;
        z-index: 100;

        .num {
          font-size: 38rpx;
          font-weight: 500;
          line-height: 22px;
        }

        .unit {
          font-size: 24rpx;
          line-height: 20px;
        }

        .name {
          color: #86909C;
          font-size: 24rpx;
          line-height: 12px;
          margin-top: 12rpx;
        }
      }

      .img-icon {
        width: 90rpx;
        height: 90rpx;
        position: absolute;
        right: 25rpx;
        top: 21rpx;
        z-index: 1;
      }

      &.actived {
        background: #3375F5;
        color: #fff;

        .name {
          color: #fff;
        }
      }
    }
  }

  .title-name.bg {
    width: fit-content;
    height: 24px;
    background: linear-gradient(90deg, rgba(51, 117, 245, 0.00) 0%, #3375F5 100%) no-repeat left 12px/100% 12px;
  }

  .monitor-list {
    padding: 0 30rpx;

    .monitor-item {
      border-radius: 20rpx;
    }
  }


}

.loading-container {
  padding: 4px 0;
  text-align: center;
  color: #86858B;
}

.back-to {
  position: fixed;
  right: 16px;
  bottom: 120px;
  width: 42px;
  height: 42px;
  box-shadow: 0px 0px 7.4px 0px rgba(51, 117, 245, 0.25);
  border-radius: 50%;
  background-color: #fff;
  color: var(--td-brand-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  font-size: 12px;
}